package com.xyw.code.gateway.common.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xyw.code.common.core.entity.po.BasePo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * Created with IntelliJ IDEA.
 * User: xuyiwei
 * Date: 2020/1/31
 * Time: 下午8:00
 * Email: 1328312923@qq.com
 * Description: 路由实体类
 **/
@EqualsAndHashCode
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GatewayRoute extends BasePo {


    private static final long serialVersionUID = 1L;
    /**
     * 路由id
     */
    @TableField("route_id")
    private String routeId;
    /**
     * uri路径
     */
    private String uri;
    /**
     * 判定器
     */
    private String predicates;
    /**
     * 过滤器
     */
    private String filters;
    /**
     * 排序
     */
    private Integer orders;
    /**
     * 描述
     */
    private String description;
    /**
     * 删除标记  -1：已删除  0：正常
     */
    @TableField("del_flag")
    private Integer delFlag;

}
